home *** CD-ROM | disk | FTP | other *** search
- function removeUnusedBonuses()
- {
- while(counter < 11)
- {
- _root["bonus" + counter].removeMovieClip();
- counter++;
- }
- counter = 0;
- }
- function monkeyChatter()
- {
- monkeySoundNumber = random(3);
- if(monkeySoundNumber == 0)
- {
- sndMonkey1.start(0,0);
- }
- else if(monkeySoundNumber == 1)
- {
- sndMonkey2.start(0,0);
- }
- else if(monkeySoundNumber == 2)
- {
- sndMonkey3.start(0,0);
- }
- else
- {
- sndMonkey4.start(0,0);
- }
- }
- monkeyGamesPlayed = 1;
- worldsDifference = 1100;
- sndCrash = new Sound();
- sndCrash.attachSound("sndCrash");
- sndWhip = new Sound();
- sndWhip.attachSound("sndWhip");
- sndPlatformAppear = new Sound();
- sndPlatformAppear.attachSound("sndPlatformAppear");
- sndZoomIn = new Sound();
- sndZoomIn.attachSound("sndZoomIn");
- sndZoomOut = new Sound();
- sndZoomOut.attachSound("sndZoomOut");
- sndHiscore = new Sound();
- sndHiscore.attachSound("sndHiscore");
- sndDrop = new Sound();
- sndDrop.attachSound("sndDrop");
- sndCrashHit = new Sound();
- sndCrashHit.attachSound("sndCrashHit");
- sndThrusters = new Sound();
- sndThrusters.attachSound("sndThrusters");
- sndBonus = new Sound();
- sndBonus.attachSound("sndBonus");
- sndLanded = new Sound();
- sndLanded.attachSound("sndLanded");
- sndMonkey1 = new Sound();
- sndMonkey1.attachSound("sndMonkey1");
- sndMonkey2 = new Sound();
- sndMonkey2.attachSound("sndMonkey2");
- sndMonkey3 = new Sound();
- sndMonkey3.attachSound("sndMonkey3");
- sndMonkey4 = new Sound();
- sndMonkey4.attachSound("sndMonkey4");
- sndGameOver = new Sound();
- sndGameOver.attachSound("sndGameOver");
- sndGameCompleted = new Sound();
- sndGameCompleted.attachSound("sndGameCompleted");
- sndMadeHiscore = new Sound();
- sndMadeHiscore.attachSound("sndMadeHiscore");
- sndBuzzer = new Sound();
- sndBuzzer.attachSound("sndBuzzer");
- sndOutOfCocofuel = new Sound();
- sndOutOfCocofuel.attachSound("sndOutOfCocofuel");
- sndTeleport = new Sound();
- sndTeleport.attachSound("sndTeleport");
- sndThud = new Sound();
- sndThud.attachSound("sndThud");
- gotoAndPlay(23);
-